/** * * Auction Nudge * https://www.auctionnudge.com * * By Joseph Hawes * http://www.josephhawes.co.uk * */ function AN_Item_JS(){var AN=null;var h=null;var re=null;var rp={};var cid=null;var c=null;var lj=null;var mp=null;this.i=function(eid){AN=this;AN.h=document.getElementsByTagName('head')[0];AN.cid=eid;AN.re='https://motorcycle-parts.ca/?an_tool_key=item&an_request=';AN.l(window,'load',AN.r);} this.r=function(){if(typeof window.AN_Item_ready=='function'){AN_Item_ready();}} this.ath=function(html){AN.c=document.getElementById(AN.cid);AN.c.className+=' theme-'+AN.rp.theme;AN.c.innerHTML=html;AN.iw=document.getElementById('an-item-wrap');} this.srp=function(p){AN.rp=p;} this.aih=function(html){AN.iw.innerHTML=html;} this.ce=function(type,attr,content){var e=document.createElement(type);for(key in attr){e.setAttribute(key,attr[key]);} if(content){if(typeof content=='object'){e.appendChild(content);}else{e.innerHTML=content;}} return e;} this.l=function(e,event,callback){switch(event){case'load':if(typeof e.addEventListener!="undefined"){e.addEventListener("load",callback,false);}else if(typeof e.attachEvent!="undefined"){e.attachEvent("onload",callback);}else{if(e.onload!=null){var oo=e.onload;e.onload=function(e){oo(e);e[callback]();};}else{e.onload=callback;}} break;default:if(typeof e.addEventListener!="undefined"){e.addEventListener(event,callback,false);}else if(typeof e.attachEvent!="undefined"){e.attachEvent('on'+event,callback);} break;}} this.aa=function(type,url){var et='';switch(type){case'css':et='link';var attr={'type':'text/css','rel':'stylesheet','href':url};break;case'js':et='script';var attr={'type':'text/javascript','src':url};break;} AN.h.appendChild(AN.ce(et,attr,''));} this.ri=function(){AN.sl(true);var request=AN.br();AN.pr(request);} this.br=function(){AN.rp.action='update';var request=AN.re;for(key in AN.rp){request+='/'+key+'/'+AN.rp[key];} return request;} this.pr=function(request){if(AN.lj){AN.h.removeChild(AN.lj);} var attr={'type':'text/javascript','src':request};var aj=AN.ce('script',attr,'');AN.h.appendChild(aj);AN.lj=aj;} this.rc=function(){if(typeof window.auction_nudge_loaded=='function'){auction_nudge_loaded();}} this.uc=function(psp,psn){if(typeof AN.up=='function'){AN.up(psp,psn);} if(typeof window.an_item_resize=='function'){an_item_resize();} if(typeof window.auction_nudge_loaded=='function'){auction_nudge_loaded();}} this.sl=function(loading){if(loading){AN.c.className+=' an-loading';}else{AN.c.className=AN.c.className.replace(/( )?an-loading/g,'');}} this.sp=function(){AN.c.className+=' an-paged';AN.pt=document.getElementById('an-page-top');AN.ptp=document.getElementById('an-page-top-prev');AN.ptn=document.getElementById('an-page-top-next');AN.pb=document.getElementById('an-page-bot');AN.pbp=document.getElementById('an-page-bot-prev');AN.pbn=document.getElementById('an-page-bot-next');var l=[AN.ptp,AN.ptn,AN.pbp,AN.pbn];for(i in l){AN.l(l[i],'click',function(e){var ele=e||window.event;var tar=ele.target||ele.srcElement;if(tar.className.indexOf('an-inactive')==-1){if(tar.className.indexOf('prev')!=-1){AN.hp('prev');}else{AN.hp('next');}}});}} this.pl=function(type,active){if(typeof AN.pt==='undefined'){return false;} if(type=='prev'){var ptl=AN.ptp;var pbl=AN.pbp;}else if(type=='next'){var ptl=AN.ptn;var pbl=AN.pbn;} ptl.className=ptl.className.replace(/( )?an-inactive/g,'');pbl.className=pbl.className.replace(/( )?an-inactive/g,'');if(!active){ptl.className+=' an-inactive';pbl.className+=' an-inactive';}} this.hp=function(a){var cp=parseInt(AN.rp.page);switch(a){case'prev':var tp=cp-1;if(cp>1){AN.rp.page=cp-1;}else{return;} break;case'next':AN.rp.page=cp+1;break;} if(window.location.hash!='#'+AN.cid||window.location.hash==''){window.location.hash='#'+AN.cid;}else{window.location.hash='#an-ebay-logo';} AN.ri();} this.hie=function(){AN.rp.page-=1;AN.mp=AN.rp.page;} this.up=function(prev,next){AN.pl('prev',prev);AN.pl('next',next);if(AN.mp==AN.rp.page){AN.pl('next',false);}} this.encode_str=function(str){return encodeURIComponent(str).replace(/[!'()*]/g,function(c){return'%'+c.charCodeAt(0).toString(16);});} this.ss=function(type){AN.c.className+=' an-search';AN.sb=document.getElementById('an-search-box');AN.sst=document.getElementById('an-search-submit');if(!AN.sb||!AN.sst){return false;} AN.sb.setAttribute('contentEditable','true');AN.l(AN.sb,'focus',function(e){if(AN.sb.innerHTML=='Search items...'){AN.sb.innerHTML='';}});AN.l(AN.sb,'keypress',function(e){if(e.keyCode==13){AN.hss(AN.sb.innerHTML);e.preventDefault()}});AN.l(AN.sst,'click',function(e){AN.hss(AN.sb.innerHTML);});} this.hss=function(keyword){if(keyword!=''){keyword=keyword.replace(/<(.|\n)*?>/g,'');AN.rp.keyword=AN.encode_str(keyword);}else{delete AN.rp.keyword;} AN.rp.page=1;delete AN.mp;AN.ri();}}var AN_Item=new AN_Item_JS();AN_Item.i('auction-nudge-items');function AN_Item_ready(){AN_Item.srp({"action":"init","theme":"responsive","page":"1","img_size":"120","cats_output":false,"search_box":"1","blank":"1","show_logo":"0","lang":"english","SellerID":"supersportmoto","siteid":"2","MaxEntries":"20"});if(location.host.indexOf('ebay')!=-1||location.host.indexOf('paypal')!=-1){AN_Item.ath('

Auction Nudge Error
Your items can not load because the website hostname contains a disallowed keyword.

');}else{AN_Item.ath('
Search items...
Search
eBay Listings from Auction Nudge
');AN_Item.aih('
Yamaha Control cable, reverse lever fits terra Pro 1988
C $89.99
Time Left:2d 13h 35m
Honda Swinging arm assy, Rear fits XL350 1976
C $150.00
Time Left:2d 13h 36m
Honda cover r side fits CB400 1977 item 1
C $235.75
Time Left:2d 13h 38m
Honda Cover L side fits CB450 1970 - Black, logo 2
C $247.25
Time Left:2d 13h 39m
Honda Cover L Side fits GL1000 1978 - black-with-gold
C $247.25
Time Left:2d 13h 39m
SFB for Suzuki Clutch cover fits RMZ250 2004
C $115.00
Time Left:2d 13h 40m
Honda exhaust valve fits XL500
C $97.74
Time Left:2d 13h 40m
Fren Tubo for Ducati Brake line fits Monster 1996
C $103.49
Time Left:2d 13h 40m
Honda Cover R Side fits GL1000 1978 – black-and-gold item 2
C $184.00
Time Left:2d 13h 41m
Honda Wrench, open end, pin fits CB450 1974
C $92.00
Time Left:2d 13h 41m
Honda Arm RR brake stopper arm fits CR250R 1982
C $132.25
Time Left:2d 13h 42m
Honda exhaust valve fits CT90
C $114.99
Time Left:2d 13h 42m
Honda Cover L side fits CB450 1970 - Red, logo 1
C $247.25
Time Left:2d 13h 43m
Zero Gravity for Honda Windscreen fits CBR1100XX 1997
C $103.50
Time Left:2d 13h 44m
Honda Cover R Side fits GL1000 1978 – black item 3
C $184.00
Time Left:2d 13h 44m
Suzuki Axle assembly, rear fits DRZ400 2003
C $70.00
Time Left:2d 13h 45m
Honda footpeg assy, Left and right . step fits XL350 1976
C $80.00
Time Left:2d 13h 45m
Yamaha Master cylinder sub assembly fits XT600 1984
C $103.50
Time Left:2d 13h 46m
Suzuki suspension linkage fits DRZ400 2003
C $100.00
Time Left:2d 13h 46m
Honda exhaust valve fits CT90
C $97.74
Time Left:2d 13h 46m
');AN_Item.sp();AN_Item.pl('next',true);AN_Item.ss();AN_Item.aa('css','//assets-auctionnudge.s3.amazonaws.com/feed/item/css/responsive-080818.gz.css');AN_Item.aa('js','//assets-auctionnudge.s3.amazonaws.com/feed/item/js/responsive-080317.gz.js');AN_Item.rc();}}